﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Xml;

namespace Rule
{
    public class TemplateRule
    {
        private List<TemplateRule> rules = new List<TemplateRule>();

        public List<TemplateRule> Rules
        {
            get { return rules; }
            set { rules = value; }
        }

        public bool validate()
        {
            return true;
        }

        public virtual bool parseFromXmlNode(XmlNode node)
        {
            return true;
        }

        public virtual bool match(string fileName)
        {
            return false;
        }
    }
}
